<div class="pageContent">
	
	<form method="post" action="/index.php?act=purch&st=purchEdit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$id}" />
		<div class="pageFormContent" layoutH="58">

			<p>
				<label>用户ID：</label>
				<input name="User_ID" type="text" size="30" value="{$purch.User_ID}" class="required" errormsg="请输入用户ID"/>
			</p>
			<p>
				<label>提出单位：</label>
				<input name="User_Company" type="text" size="30" value="{$purch.User_Company}" class="required" errormsg="请输入提出单位"/>
			</p>
			<p>
				<label>提出人姓名：</label>
				<input name="User_Person" type="text" size="30" value="{$purch.User_Person}" class="required" errormsg="请输入提出人姓名"/>
			</p>
			<p>
				<label>产品名称：</label>
				<input name="Product_Type" type="text" size="30" value="{$purch.Product_Type}" class="required" errormsg="请输入产品名称"/>
			</p>
			<div class="divider"></div>
			<p>
				<label>产品规格：</label>
				<input name="Product_Spec" type="text" size="30" value="{$purch.Product_Spec}" class="required" errormsg="请输入产品规格"/>
			</p>
			<p>
				<label>材质牌号：</label>
				<input name="Product_Grade" type="text" size="30" value="{$purch.Product_Grade}" class="required" errormsg="请输入材质牌号" />
			</p>
			<p>
				<label>采购数量：</label>
				<input name="Buy_Qty" class="number required" type="text" size="30" value="{$purch.Buy_Qty}" errormsg="请输入采购数量"/>
			</p>
			<p>
				<label>采购类型：</label>
				<input name="Buy_Type" class="required" type="text" size="30" value="{$purch.Buy_Type}" errormsg="请输入采购类型"/>
			</p>
			<p>
				<label>可接受定价方式：</label>
				<input name="Buy_Price_Type" class="required" type="text" size="30" value="{$purch.Buy_Price_Type}" errormsg="请输入可接受定价方式"/>
			</p>
			<p>
				<label>是否全款排产和退货：</label>
				<input name="Buy_Full_Payment" class="required" type="text" size="30" value="{$purch.Buy_Full_Payment}" errormsg="请输入是否全款排产和退货"/>
			</p>
			<div class="divider"></div>
			<p>
				<label>其他结算方式：</label>
				<input name="Buy_Settle_Type" class="required" type="text" size="30" value="{$purch.Buy_Settle_Type}" errormsg="请输入其他结算方式"/>
			</p>
			<p>
				<label>交货方式选择：</label>
				<input name="Delivery_Type" class="required" type="text" size="30" value="{$purch.Delivery_Type}" errormsg="请输入交货方式选择"/>
			</p>
			<p>
				<label>预约到货时间：</label>
				<input name="Order_Arrive_Time" class="required" type="text" size="30" value="{$purch.Order_Arrive_Time}" errormsg="请输入预约到货时间"/>
			</p>
			<p>
				<label>预约详细送货地址：</label>
				<input name="Order_Addr" class="required" type="text" size="30" value="{$purch.Order_Addr}" errormsg="请输入预约详细送货地址"/>
			</p>
			<p>
				<label>产品执行交货标准：</label>
				<input name="Order_Standard" class="required" type="text" size="30" value="{$purch.Order_Standard}" errormsg="请输入产品执行交货标准"/>
			</p>

			<p>
				<label>质量个性需求：</label>
				<input name="Demand_Quality" class="required" type="text" size="30" value="{$purch.Demand_Quality}" errormsg="请输入质量个性需求"/>
			</p>
			<p>
				<label>政策需求：</label>
				<input name="Demand_Policy" class="required" type="text" size="30" value="{$purch.Demand_Policy}" errormsg="请输入政策需求"/>
			</p>
			<p>
				<label>服务需求：</label>
				<input name="Demand_Service" class="required" type="text" size="30" value="{$purch.Demand_Service}" errormsg="请输入服务需求"/>
			</p>
			<div class="divider"></div>
			<p>
				<label>处理状态：</label>
				{if $purch.Deal_State eq 1}
				<input name="Deal_State" class="required" type="text" size="30" value="已处理" disabled/>
				{else}
				<select class="combox" name="Deal_State">
					<option value="0">未处理</option>
					<option value="1">已处理</option>
				</select>
				{/if}
			</p>
			<p>
				<label>处理信息：</label>
				<input name="deal_msg" class="required" type="text" size="30" value="{$purch.deal_msg}" errormsg="请输入处理信息" {if $purch.Deal_State eq 1}disabled{/if}/>
			</p>
		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>

	</form>

</div>

